<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class UserCollection extends Model
{
    // 用户收藏表
    protected $table = 'user_collection';
    protected $primaryKey = 'id';
    protected $dateFormat = 'U';
    protected $casts = [
        'created_at' => 'datetime:Y-m-d H:i',
        'updated_at' => 'datetime:Y-m-d H:i'
    ];
}
